const fn = (type, { sendData }, cb) => {
  switch (type) {
    case "upload":
      console.log("upload");
      console.log(sendData);
      break;
    case "product":
      console.log("product");
      console.log(sendData);
      break;
    case "seller":
      console.log("seller");
      console.log(sendData);
      break;
    case "community":
      console.log("community");
      console.log(sendData);
      break;
    case "activity":
      console.log("activity");
      console.log(sendData);
      break;
    case "pageLink":
      console.log("pageLink");
      console.log(sendData);
      break;
    default:
      break;
  }
  cb?.(sendData);
};
